package com.mdd.front.service.yangyangLeadingEnterprise;

import com.mdd.common.core.PageResult;
import com.mdd.common.entity.yangyangLeadingEnterprise.TAppFunctional;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.validate.yangyangLeadingEnterprise.TAppFunctionalCreateValidate;
import com.mdd.front.validate.yangyangLeadingEnterprise.TAppFunctionalSearchValidate;
import com.mdd.front.validate.yangyangLeadingEnterprise.TAppFunctionalUpdateValidate;
import com.mdd.front.vo.yangyangLeadingEnterprise.TAppFunctionalDetailVo;
import com.mdd.front.vo.yangyangLeadingEnterprise.TAppFunctionalListedVo;

import java.util.List;

/**
 * 领企管家---功能模块服务接口类
 * @author LikeAdmin
 */
public interface ITAppFunctionalService {

    /**
     * 领企管家---功能模块列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<TAppFunctionalListedVo>
     */
    PageResult<TAppFunctionalListedVo> list(PageValidate pageValidate, TAppFunctionalSearchValidate searchValidate);

    /**
     * 领企管家---功能模块详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return TAppFunctionalDetailVo
     */
    TAppFunctionalDetailVo detail(Integer id);

    /**
     * 领企管家---功能模块新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(TAppFunctionalCreateValidate createValidate);

    /**
     * 领企管家---功能模块编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(TAppFunctionalUpdateValidate updateValidate);

    /**
     * 领企管家---功能模块删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

    List<TAppFunctional> selectList();
}
